<?php 
/**
 * @version			$Id$
 * @author			Richard Asp
 * @package			Joomla
 * @subpackage		gnudoor
 * @copyright		(C) 2010 gnudoor LLC
 * @license      GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

defined( '_JEXEC' ) or die( 'Restriced access' ); 
JHTML::_('stylesheet', 'myform.css','components/com_gnudoor/assets/css/');
$params = &JComponentHelper::getParams( 'com_gnudoor' );
$topalias = $params->get( 'Step3 page top' );
$bottomalias = $params->get( 'Step3 page bottom' );

$model =& $this->getModel('Newtask');
$topID = $model->getArticleID($topalias);
$topid = $topID->id;
$bottomID = $model->getArticleID($bottomalias);
$bottomid = $bottomID->id;
?>
<?php echo file_get_contents($this->articlebase . $topid);?>
<div id="newtask" class="myform">

<form action="index.php">

<fieldset>
	<legend><span>Service Required</span></legend>
	<ol>
	<li>
	<fieldset>
	<legend>Services:</legend>
	<ol><li>&nbsp;</li>
		<li>
			<input id="item1" name="item1"
			class="checkbox" type="checkbox" value="1" />
			<label for="item1">Item 1</label>
		</li>

		<li>
			<input id="item2" name="item2"
			class="checkbox" type="checkbox" value="2" />
			<label for="item2">Item 2</label>
		</li>

		<li>
			<input id="item3" name="item3"
			class="checkbox" type="checkbox" value="3" />
			<label for="item3">Item 3</label>
		</li>

		<li>
			<input id="item4" name="item4"
			class="checkbox" type="checkbox" value="4" />
			<label for="item4">Item 4</label>
		</li>

	</ol>
	</fieldset>
	</li>
	</ol>
</fieldset>





<fieldset>
	<legend><span>Task Details</span></legend>
	  <div>&nbsp;</div>
		<ol>
		<li>
			<label for="name">Name:<span>please enter task summary</span><em>*</em></label>
			<input id="name" name="name" 
			class="text" type="text" />
		</li>

		<li>
			<label for="description">Details:<span>enter task details</span><em>*</em></label>
			<textarea id="description" name="description" 
			class="textarea" cols="14" rows="10">&nbsp;</textarea>
		</li>

		<li>
			<label for="value">Budget:<span>enter your budget</span></label>
			<input id="value" name="value" 
			class="text" type="text" />
		</li>
	</ol>
</fieldset>

<input type="hidden" name="option" value="com_gnudoor" />
<input type="hidden" name="controller" value="newtask" />
<input type="hidden" name="task" value="stepfour" />


<fieldset class="submit">
<input class="submit" 
type="submit" value="Next =>" />

</fieldset>

</form>
</div>
<?php echo file_get_contents($this->articlebase . $bottomid);?>